Skip to main content

Stop SQL Agent Job

Description

This plugin is designed to stop Agent Job of particular SQL server agent to handle other automated tasks.

Configurations

No.Field NameDescription
1Step NameName of the step. This name has to be unique in a single workflow.
Connection:
2Server NameThe Hostname/Server Name/IP of the MSSQL Server. This field is mandatory. Drop down is available.
3Instance nameThe instance name of MSSQL Server instance. One of the two fields Instance name or Port is mandatory. Only variables/static values are allowed.
4Port NumberThe port number of the MSSQL Server. One of the two fields Instance name or Port is mandatory. Only variables/static values are allowed.
5UsernameA username of the MSSQL Server. This field is mandatory.
Password
6Checkbox: Accept Value as variable/staticLeave checkbox unchecked to accept Password value from a field in the previous steps of the stream using a drop down list.
Else enable checkbox for Password field to appear as Text box.
7PasswordProvide the password of the username of MSSQL Server. Password is entered using a widget. The widget handles both Text Var(static value or environment variable) and Combo(drop down containing values from previous steps). This field is mandatory.
If checkbox above is enabled Password field appears as Text box. Else if checkbox above is disabled Password field appears as a drop down to select fields from previous steps.
8Other Connection ParameterSpecify multiple, semi-colon separated parameters other than the default connection parameters.
Other connection parameters will be appended to the default connection parameters.
Example of default connection parameters: Server Name, Password.
Examples of other connection parameters: encrypt=false;trustServerCertificate=false
Button
9Test ConnectionVerifies whether the connection is established or not.
NOTE: Test Connection button does not work for previous step fields. Test Connection button only works with static values and environment variables.
Input Fields
1Job NameName of the job to start.
2Button: GetClicking on this button brings a dialog for the available jobs on that particular SQL server instance.Get Button will work for user having system admin’s permission or having agent roles mentioned below with access on msdb.dbo.sysjobs table.
Output Fields:
1ResultOutput field to hold the result of the successful plugin execution